<template>
	<view class="payment-success">
		<view class="success f-active-color">支付成功</view>
		<view class="return-index f-active-color" @tap="goIndex">返回首页</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods:{
			goIndex(){
				uni.reLaunch({
					url:"/pages/index/index"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.payment-success{
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 100vw;
		height: 100vh;
		.success{
			font-size: 52rpx;
			margin-bottom: 10rpx;
		}
		.return-index{
			padding: 10rpx 60rpx;
			border: 2rpx solid #49bdfb;
			border-radius: 40rpx;
			margin-top: 10rpx;
		}
	}
</style>
